package com.example.project1form;


import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;

public class Form1 extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_form1);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_form1, menu);
		return true;
	}

	public void nextPage (View view){
		Intent intent_next = new Intent (this, Form2.class);
		startActivity(intent_next);
	}
	
	public void previousPage (View view){
		Intent intent_previous = new Intent (this, Form1.class);
		startActivity(intent_previous);
	}

	
}
